package com.swpu.zdl.service;

import com.swpu.zdl.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    List<Teacher> getAll();

    boolean addTeacher(Teacher teacher);

    boolean deleteTeacher(String gongHao);

    boolean updateTeacher(String gongHao, Teacher teacher);

    Teacher getTeacherKp(String gongHao);
}
